<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/commons/taglibs.jsp"%>
<!--javascript-->
<script type="text/javascript" src="/static/js/lib/jquery.js"></script>
<script type="text/javascript" src="/static/js/plugin/idTabs/jquery.idTabs.js"></script>

<script type="text/javascript" src="/static/js/ShopCommon.js"></script>
<!--/javascript-->

<c:if test="${not empty stat_code }">
   <!-- 第三方[${ssc.name}]统计代码 -->
   <c:out escapeXml="false" value="${stat_code }"  />
</c:if>

<!-- 添加收藏 -->
<script type="text/javascript">
function AddFavorite(sURL, sTitle)
{
   try
   {
       window.external.addFavorite(sURL, sTitle);
   }
   catch (e)
   {
       try
       {
           window.sidebar.addPanel(sTitle, sURL, "");
       }
       catch (e)
       {
           alert("加入收藏失败，请使用Ctrl+D进行添加");
       }
   }
}
</script>

<!-- 统计 -->
<script type="text/javascript">
	var shopId = '${userid}';
	var visitorsId = '${current_userid}';
	var ip = '${pageContext.request.remoteAddr}';
</script>
<script type="text/javascript" src="${config.statPath }"></script>

<!-- 图片 -->
<script type="text/javascript">asyncReloadImg();</script>